import React, {Component} from "react"
import Checkbox from '@mui/material/Checkbox';

const label = { inputProps: { 'aria-label': 'Checkbox demo' } };


class Test extends Component {
  constructor(props) {
    super(props);
    this.state = {
      checked: true,
    };
  }

  render(){
    return (<div>
      <Checkbox checked={this.state.checked}
        onChange={(e)=>{
          this.setState({checked: e.target.checked})
        }}
      />
    </div>)
  }
}


export default Test



